#include <stdio.h>
#define NUMS 16
void main(void)
{
    char arr[NUMS] = "01234567890";
    char *pc;
    int *pi;
    int i;

    printf("address of arr:%d\n", arr);
    printf("pc:%d,pi:%d,&pc:%d,&pi:%d\n", pc, pi, &pc, &pi);

    printf("sizeof  arr:%d,pc:%d,pi:%d,i:%d\n", sizeof(arr), sizeof(pc), sizeof(pi), sizeof(i));

    for (i = 0; i < NUMS; i++)
    {
        printf("%c ", arr[i]);
    }
    
    printf("\n");
    for (i = 0; i < NUMS; i++)
    {
        printf("%#x ", arr[i]);
    }

    
    printf("\n");
    pc = arr;
    for (i = 0; i < NUMS; i++)
    {
        printf("%#x ", *pc++);
    }

    
    printf("\n");
    pi = (int *)arr;
    for (i = 0; i < NUMS / 4; i++)
    {
        printf("%#x ", *pi++);
    }

    
    printf("\n");
    pi = pc = arr;
    printf("pc:%d,pi:%d\n", pc, pi);
    printf("&pc:%d,&pi:%d\n", pc+2, pi+2);

}